home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
axterix.swf
/
scripts
/
DefineButton2_234
/
BUTTONCONDACTION on(keyPress Up).as
< prev
Wrap
Text File
|
2011-09-19
|
1KB
|
61 lines
on(keyPress "<Up>"){
choix--;
sonMC.gotoAndPlay(3);
if(choix == 1)
{
basterix.gotoAndStop(1);
bmsrg.gotoAndStop(1);
basrctrx.gotoAndStop(1);
bobelix.gotoAndPlay(2);
masterix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
masrctrx.gotoAndStop(1);
mobelix.gotoAndPlay(2);
}
if(choix == 2)
{
bobelix.gotoAndStop(1);
bmsrg.gotoAndStop(1);
basrctrx.gotoAndStop(1);
basterix.gotoAndPlay(2);
mobelix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
masrctrx.gotoAndStop(1);
masterix.gotoAndPlay(2);
}
if(choix == 3)
{
bobelix.gotoAndStop(1);
basterix.gotoAndStop(1);
basrctrx.gotoAndStop(1);
bmsrg.gotoAndPlay(2);
mobelix.gotoAndStop(1);
masterix.gotoAndStop(1);
masrctrx.gotoAndStop(1);
mmsrg.gotoAndPlay(2);
}
if(choix == 4)
{
bobelix.gotoAndStop(1);
basterix.gotoAndStop(1);
bmsrg.gotoAndStop(1);
basrctrx.gotoAndPlay(2);
mobelix.gotoAndStop(1);
masterix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
masrctrx.gotoAndPlay(2);
}
if(0 >= choix)
{
choix = 4;
bobelix.gotoAndStop(1);
basterix.gotoAndStop(1);
bmsrg.gotoAndStop(1);
basrctrx.gotoAndPlay(2);
mobelix.gotoAndStop(1);
masterix.gotoAndStop(1);
mmsrg.gotoAndStop(1);
masrctrx.gotoAndPlay(2);
}
}